const ENUM = {
  orderStatus: [
    {
      value: 0,
      label: '待付款'
    }, {
      value: 1,
      label: '待确认'
    }, {
      value: 2,
      label: '已确认'
    }, {
      value: 3,
      label: '已完成'
    }, {
      value: 4,
      label: '已关闭'
    }, {
      value: 5,
      label: '无效订单'
    }
  ],
  mallOrderStatus: [
    {
      value: 0,
      label: '未支付'
    }, {
      value: 5,
      label: '已支付'
    }, {
      value: 10,
      label: '已发货'
    }, {
      value: 15,
      label: '已完成'
    }, {
      value: 20,
      label: '已关闭'
    }, {
      value: 25,
      label: '退款待审核'
    }, {
      value: 30,
      label: '已退款'
    }, {
      value: 35,
      label: '无效订单'
    }
  ],
  adoptedStatus: [
    {
      label: '成长中',
      value: '0'
    },
    {
      label: '待收获',
      value: '1'
    },
    {
      label: '已收获',
      value: '2'
    },
    {
      label: '退养中',
      value: '3'
    },
    {
      label: '已退养',
      value: '4'
    }
  ],
  invoiceStatus: [
    {
      label: '已开具',
      value: '0'
    },
    {
      label: '已申请',
      value: '1'
    }
  ],
  personSexual: [
    {
      label: '男',
      value: '0'
    },
    {
      label: '女',
      value: '1'
    }
  ],
  orderSource: [
    {
      label: '商城订单',
      value: 0
    },
    {
      label: '云订单',
      value: 1
    }
  ],
  //已废弃
  payType: [
    {
      label: '微信支付',
      value: 1
    }
  ],
  giftCardStatus: [
    {
      label: '待领取',
      value: '0'
    },
    {
      label: '待使用',
      value: '1'
    },
    {
      label: '已使用',
      value: '2'
    },
    {
      label: '已过期',
      value: '3'
    },
    {
      label: '已作废',
      value: '4'
    }
  ],
  semAdoptForStat: [
    {
      label: '未绑定',
      value: 'nobind'
    },
    {
      label: '绑定未使用',
      value: 'bind'
    },
    {
      label: '绑定使用',
      value: 'use'
    },
    {
      label: '已过期',
      value: 'deadline'
    },
    {
      label: '已禁用',
      value: 'disabled'
    }
  ],
  returnApplyType: [
    {
      label: '仅退款',
      value: 1
    },{
      label: '退货退款',
      value: 2
    }

  ],
  returnOrderStatus: [
    {
      label: '待处理',
      value: 0
    },
    {
      label: '已通过申请',
      value: 5
    },
    {
      label: '客户发货',
      value: 10
    },
    {
      label: '待退款',
      value: 15
    },
    {
      label: '已退款',
      value: 20
    },
    {
      label: '售后结束',
      value: 25
    },
    {
      label: '拒绝退单',
      value: 30
    },
    {
      label: '客户取消',
      value: 35
    }
  ],
  //订单类型
  commonOrderType:{
    ADOPT:{
      value: "ORDER_TYPE_ADOPT",
      label: "商品领养"
    },
    MALL:{
      value: "ORDER_TYPE_MALL",
      label: "商城"
    },
    OTHER:{
      value: "ORDER_TYPE_OTHER",
      label: "其他"
    }
  },
  //退款类型
  refundType:{
    REFUND_MONEY:{
      value: "HAS_PAY_REFUND",
      label: "仅退款"
    },
    REFUND_ALL:{
      value: "BACK_ORDER_REFUND",
      label: "退货退款"
    }
  },
  //凭证类型
  commonPayRecoderProofType:{
    PAY:{
      value: "PAY_RECODER_PROOF_TYPE_PAY",
      label: "支付凭证"
    },
    RECEIVE:{
      value: "PAY_RECODER_PROOF_TYPE_RECEIVE",
      label: "收款凭证"
    }
  },
  //支付方式
  commonPayType:{
    WX:{
      value: "PAY_TYPE_WX",
      label: "微信支付"
    },
    TRANSFER:{
      value: "PAY_TYPE_TRANSFER",
      label: "银行转账"
    }
  },
  //支付状态
  commonPayStatus:{
    WAIT_PAY:{
      value: "PAY_STATUS_WAIT_PAY",
      label: "待支付"
    },
    WAIT_UPLOAD_PAY_PROOF:{
      value: "PAY_STATUS_WAIT_UPLOAD_PAY_PROOF",
      label: "待上传支付证明"
    },
    WAIT_UPLOAD_RECEIVE_PROOF:{
      value: "PAY_STATUS_WAIT_UPLOAD_RECEIVE_PROOF",
      label: "待上传收款证明"
    },
    FINISH:{
      value: "PAY_STATUS_FINISH",
      label: "支付完成"
    },
    WAIT_CONFIRM:{
      value: "PAY_STATUS_WAIT_CONFIRM",
      label: "待确认"
    },
  },
  //优惠券规则（共融）
  ruleType:[
    {
      label: '共融',
      value: 'SEM_COUPON_RULE_TYPE_INCLUDE'
    }
  ],
  //优惠券状态
  couponType:[{
    value: "0",
    label: "待领取"
  },{
    value: "1",
    label: "待使用"
  },{
    value: "2",
    label: "已使用"
  },{
    value: "3",
    label: "已过期"
  },{
    value: "4",
    label: "已作废"
  },{
    value: "5",
    label: "已占用"
  }],
  //优惠类型
  semType:[{
    value: '1',
    label: "优惠券"
  },{
    value: '2',
    label: "礼金卡"
  }],
  //物流方式
  deliveryMode:[{
    value: 0,
    label: "物流"
  },{
    value: 1,
    label: "自提"
  },{
    value: 2,
    label: "物流/自提"
  }],
  //退养阶段
  adoptedRefundStatus:[{
    value: '0',
    label: "待处理"
  },{
    value: '1',
    label: "同意退款"
  },{
    value: '2',
    label: "已完成"
  },{
    value: '3',
    label: "已拒绝"
  },{
    value: '4',
    label: "待上传退款证明"
  }]
}
export default key => ENUM[key]
